package com.duan.goods.mapper;

import com.duan.goods.pojo.ProductDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author lenovo
* @description 针对表【goods_product_details(商品详情表)】的数据库操作Mapper
* @createDate 2024-07-30 11:54:42
* @Entity com.duan.goods.pojo.ProductDetails
*/
public interface ProductDetailsMapper extends BaseMapper<ProductDetails> {
    int reducedInventory(@Param("productId") Long productId,@Param("num") Integer num);
}




